package com.skyger.cmd;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Hello {
	public static void main(String[] args) throws IOException {
		 System.out.println("Welcome Hello ");
		 // String orgName = (new BufferedReader(new InputStreamReader(System.in))).readLine();

		  System.out.print("Login name: ");
		  String name = (new BufferedReader(new InputStreamReader(System.in))).readLine();

		  System.out.print("Login password: ");
		  String password = (new BufferedReader(new InputStreamReader(System.in))).readLine();
		  if(name.equals("admin")&&password.equals("123456")){
			  System.out.println("login in successfully");
		  }else {
			System.out.println("Login failed");
		}
	}
}
